
export interface HttpResponse<T> {
  data: T;
}

export interface DownloadParam {
  id: string;
  url: string;
  savePath: string;
}

export interface DownloadProgressArgs {
  transferred: number;
  total: number;
  percent: number;
  speed: number;
}

export interface DownloadErrorArgs {
  message: string;
}

export interface DownloadCompleteArgs {
  filePath: string;
}
